package cn.hf.myAppriase.web;

import cn.hf.myAppriase.entity.Appriase;
import cn.hf.myAppriase.service.AppriaseService;
import cn.hf.mychat.config.Result;
import cn.hf.mychat.entity.bo.RequestUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

@RestController
@RequestMapping("/app")
public class AppriaseController {
    @Autowired
    private AppriaseService appriaseService;
    @ResponseBody
    @RequestMapping("/appriaseList")
    public ResponseEntity<?> register(@RequestBody @Valid Appriase appriase) {
        //评价详情评价模块的接收
       //Integer count = this.appriaseService;
//TODO
//测试登入，，00
        return ResponseEntity.ok(Result.error("注册失败"));
    }

}
